package com.formiaomiao.demain.controller;

import com.formiaomiao.demain.service.RedVersionCodeService;
import com.formiaomiao.demain.service.impl.RedVersionCodeServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class RedVersionCodeController {

    @Autowired
    RedVersionCodeService redVersionCodeService;

    @ResponseBody
    @RequestMapping(value = "/redselectRedCode")
    private Object SelectRedCode(){
        return redVersionCodeService.selectRedCode();
    }
}
